@import './reset.less';

.module-title1 {
    width: 427px;
    height: 34px;
    background-image: url(../assets/icons/module-title1.png);
}

.module-title2 {
    width: 946px;
    height: 34px;
    background-image: url(../assets/icons/module-title2.png);
}

.module-title1, .module-title2 {
    box-sizing: border-box;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-weight: 400;
    font-size: 17px;
    color: #FFFFFF;
    padding-left: 45px;
    box-sizing: border-box;
}

.module-title_text {
    height: 26px;
    line-height: 26px;
}

.module-container {
    background: rgba(0, 21, 37, 0.7);
    border-radius: 5px;
    border: 1px solid;
    border-image: linear-gradient(180deg, rgba(60, 76, 92, 1), rgba(83, 138, 177, 1), rgba(96, 172, 224, 1), rgba(82, 135, 173, 1), rgba(60, 76, 92, 1)) 1 1;
    clip-path: inset(0 round 5px);
}

.custom-tooltip {
    padding: 10px !important;
    .tooltip-container {
        height: 20px;
        line-height: 20px;
        .tooltip-name {
            min-width: 50px;
            font-size: 13px;
        }
        .tooltip-sign {
            display: inline-block; 
            width: 10px; 
            height: 10px; 
            border-radius: 50%; 
            margin-right: 5px;
        }
        .tooltip-value {
            min-width: 30px;
            font-size: 13px;
            text-align: right;
        }
    }
}

.ws-player .wsplayer-item.selected { 
    border: none !important;
}

.chart-modal {
    .chart-modal_mask {
      position: fixed;
      inset: 0;
      z-index: 1000;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.45);
      pointer-events: none;
    }
    .chart-modal_container {
      position: fixed;
      inset: 0;
      z-index: 1010;
      overflow: auto;
      outline: 0;
      .modal {
        margin: 0 auto;
        position: relative;
        top: 100px;
        width: 800px;
        height: 600px;
        background-color: rgba(0, 21, 37, 0.7);
        border-radius: 5px;
        padding: 20px 24px;
        box-sizing: border-box;
        .modal-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: #ffffff;
          font-weight: 500;
          font-size: 16px;
          .modal-header_title {
            width: 350px;
            height: 30px;
            line-height: 30px;
            display: flex;
          }
          .modal-header_close {
            cursor: pointer;
          }
        }
        .modal-content {
          width: 100%;
          height: 525px;
          margin-top: 15px;
        }
      }
    }
}